package com.itheima.utilarr;

import java.util.StringJoiner;

public abstract class ArrayUtil {

   // public ArrayUtil(){}

    public static void printArr(int[] arr){
        StringJoiner sj = new StringJoiner(", ","[","]");
        for (int i = 0; i < arr.length; i++) {
            sj.add(""+arr[i]);
        }


        System.out.println(sj);;
    }
}
